package com.relytosoft.mizar.media.camera.api.pojo.vo;


import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @author lj
 * @date 2022/4/18 9:11
 */
public class CameraBaseVo implements Serializable {
    private static final Long serialVersionUID = 1L;

    /**
     * 设备ID
     */
    private Integer id;

    /**
     * 设备名称
     */
    private String name;

    /**
     * 区域ID
     */
    private Integer districtId;

    /**
     * 区域路径
     */
    private String districtName;

    /**
     * 设备编码
     */
    private String code;

    /**
     * 设备类型ID
     */
    private Integer cameraTypeId;

    /**
     * 设别类型名称
     */
    private String cameraTypeName;

    /**
     * 协议类型ID
     */
    private Integer protocolType;

    /**
     * 协议类型名称
     */
    private String protocolTypeName;

    /**
     * ip
     */
    private String ip;

    /**
     * 端口
     */
    private Integer port;

    /**
     * 账号
     */
    private String userName;

    /**
     * 密码
     */
    private String password;

    /**
     * 设备厂商
     */
    private String cameraVendor;

    /**
     * 设备型号
     */
    private String cameraModel;

    /**
     * 设备序列号
     */
    private String cameraSn;

    /**
     * 设备版本号
     */
    private String cameraVersion;

    /**
     * 设备能力集
     */
    private String ability;

    /**
     * 备注
     */
    private String remark;

    /**
     * 设备状态
     */
    private Integer status;

    /**
     * 通道数据
     */
    List<CameraChannelVo> cameraChannelVos;


    @ApiModelProperty(value = "第三方平台设备编码")
    private String platformCameraCode;

    /**
     * 流地址
     */
    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPlatformCameraCode() {
        return platformCameraCode;
    }

    public void setPlatformCameraCode(String platformCameraCode) {
        this.platformCameraCode = platformCameraCode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Integer districtId) {
        this.districtId = districtId;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getCameraTypeId() {
        return cameraTypeId;
    }

    public void setCameraTypeId(Integer cameraTypeId) {
        this.cameraTypeId = cameraTypeId;
    }

    public String getCameraTypeName() {
        return cameraTypeName;
    }

    public void setCameraTypeName(String cameraTypeName) {
        this.cameraTypeName = cameraTypeName;
    }

    public Integer getProtocolType() {
        return protocolType;
    }

    public void setProtocolType(Integer protocolType) {
        this.protocolType = protocolType;
    }

    public String getProtocolTypeName() {
        return protocolTypeName;
    }

    public void setProtocolTypeName(String protocolTypeName) {
        this.protocolTypeName = protocolTypeName;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCameraVendor() {
        return cameraVendor;
    }

    public void setCameraVendor(String cameraVendor) {
        this.cameraVendor = cameraVendor;
    }

    public String getCameraModel() {
        return cameraModel;
    }

    public void setCameraModel(String cameraModel) {
        this.cameraModel = cameraModel;
    }

    public String getCameraSn() {
        return cameraSn;
    }

    public void setCameraSn(String cameraSn) {
        this.cameraSn = cameraSn;
    }

    public String getCameraVersion() {
        return cameraVersion;
    }

    public void setCameraVersion(String cameraVersion) {
        this.cameraVersion = cameraVersion;
    }

    public String getAbility() {
        return ability;
    }

    public void setAbility(String ability) {
        this.ability = ability;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<CameraChannelVo> getCameraChannelVos() {
        return cameraChannelVos;
    }

    public void setCameraChannelVos(List<CameraChannelVo> cameraChannelVos) {
        this.cameraChannelVos = cameraChannelVos;
    }

    @Override
    public String toString() {
        return "CameraBaseVo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", districtId=" + districtId +
                ", districtName='" + districtName + '\'' +
                ", code='" + code + '\'' +
                ", cameraTypeId=" + cameraTypeId +
                ", cameraTypeName='" + cameraTypeName + '\'' +
                ", protocolType=" + protocolType +
                ", protocolTypeName='" + protocolTypeName + '\'' +
                ", ip='" + ip + '\'' +
                ", port=" + port +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", cameraVendor='" + cameraVendor + '\'' +
                ", cameraModel='" + cameraModel + '\'' +
                ", cameraSn='" + cameraSn + '\'' +
                ", cameraVersion='" + cameraVersion + '\'' +
                ", ability='" + ability + '\'' +
                ", remark='" + remark + '\'' +
                ", status=" + status +
                ", cameraChannelVos=" + cameraChannelVos +
                '}';
    }
}
